package com.gr.blog.dept.dao;

import java.util.List;
import java.util.Map;

import tk.mybatis.mapper.common.Mapper;

import com.gr.blog.dept.model.DeptModel;

public interface DeptDao extends Mapper<DeptModel>{

	List<DeptModel> selectAllDept(Map<String, Object> deptMap);

	List<DeptModel> selectMenuDeptByDgId(String dgId);

	int selectMenuAndDeptLinkById(Map<String, Object> map);

	List<DeptModel> selectDeptInfoByUserName(String uid);

}
